package edu.zqu.collegeField.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.zqu.collegeField.project.po.FieldStatus;
import edu.zqu.collegeField.project.vo.FieldStatusVo;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigInteger;
import java.util.List;

/**
 * <p>
 * 场地状态 服务类
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
public interface FieldStatusService extends IService<FieldStatus> {
    List<FieldStatusVo> get(BigInteger collegeId,//获取场地状态列表
                            BigInteger schoolId,
                            BigInteger areaId,
                            BigInteger fieldId,
                            BigInteger fieldTypeId,
                            BigInteger calendarId,
                            BigInteger timeTableId,
                            Integer status);

    FieldStatusVo getById(BigInteger id);//获取场地状态信息

    int add(FieldStatus fieldStatus);//添加场地状态信息

    int update(FieldStatus fieldStatusUpdate);//修改场地状态信息

    int delete(BigInteger id, BigInteger byWho);//删除场地状态信息
}
